/*
 * Copyright (c) 2009 by unreserved.org.
 * All rights reserved.
 */

package org.unreserved.ladderplot;

/**
 * The identity {@link StingEncoder}.
 */
public class NullEncoder implements StringEncoder {
    /** Singleton instance. */
    public static final NullEncoder instance = new NullEncoder();
    
    /** Simply returns the argument passed to it. */
    public String encode(String s) {
        return s;
    }
}
